package com.healthcare.client.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther mlc
 * @Date 2020/4/26
 */
@Data
@ApiModel(description = "websocket消息内容")
public class MsgVo {

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "消息")
    private String msg;

    @ApiModelProperty(value = "在线人数")
    private int count;

    @ApiModelProperty(value = "表示会诊 0 转诊 1")
    private Integer type;


    @ApiModelProperty(value = "表示会诊或者转诊id")
    private Integer id;

    @ApiModelProperty(value = "表示是医生0还是小助手1")
    private Integer caseY;

}
